package com.dongdongshop.service;

import com.dongdongshop.data.PageBean;
import com.dongdongshop.pojo.SpecTwo;
import com.dongdongshop.pojo.TbSpecification;
import com.dongdongshop.pojo.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    PageBean<TbSpecification> findList(Integer pageNum, Integer pageSize);

    void deletefication(Long[] id);

    void addInfo(List<TbSpecificationOption> options, TbSpecification tbSpecification);

    SpecTwo updateById(Long id);

    void updateSpec(List<TbSpecificationOption> options1, TbSpecification tbSpecification);

    SpecTwo getOneSpecInfo(Long id);

}
